package com.example.zhxy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.zhxy.model.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zhxy.model.LoginInfo;

/**
* @author fzykd
* @description 针对表【tb_admin】的数据库操作Service
* @createDate 2023-03-13 21:26:35
*/
public interface AdminService extends IService<Admin> {

    Admin login(LoginInfo loginInfo);

    Admin getAdminById(Long userId);

    IPage<Admin> getAdminPage(Page<Admin> page, String adminName);
}
